PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


ScrollBarTrackInfo

Your application uses the ScrollBarTrackInfo structure in the ThemeTrackDrawInfo structure to describe the scroll bar-specific features of a given track control. The ScrollBarTrackInfo structure is available with Appearance Manager 1.1 and later.

struct ScrollBarTrackInfo {
    SInt32                  viewSize;
    ThemeTrackPressState    pressState;
};
typedef struct ScrollBarTrackInfo ScrollBarTrackInfo;

Field descriptions

viewSize
A signed 32-bit integer, specifying the size of the content being displayed. This value should be expressed in terms of the same units of measurement as are used for the minimum, maximum, and current settings of the scroll bar.
pressState
A value of type ThemeTrackPressState , specifying what in the scroll bar is currently pressed. See Theme Track Press State Constants for descriptions of possible values. Pass 0 if nothing is currently pressed.

© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)